﻿/*匹配所有控件字体*/
*{font-family: "微软雅黑"; font: 20px}

/***********************************登陆窗口*************************************/
QToolButton#LoginBtn:hover{
    border:none;
    background-image:url(:/Images/resource/login_btn_focus.png);
    font: bold 20px;
    color:rgba(255, 255, 255, 255);
}

QToolButton#LoginBtn:!hover {
    border:none;
    background-image:url(:/Images/resource/login_btn_normal.png);
    font: bold 20px;
    color:rgba(255, 255, 255, 255);
}

QPushButton#AccountBtn{
    border:none;
    background-color: rgba(255, 225, 255, 0);
    font: 18px;
    color:rgba(0, 0, 0, 70);
}

QPushButton#AccountBtn:hover{
    border:none;
    background-color: rgba(255, 225, 255, 0);
    font: 18px;
    color:rgba(0, 0, 0, 90);
}
/*鼠标悬停在按钮上时*/
QPushButton#AccountListBtn:hover{
border:none;
/*背景色*/
background-color: rgba(130, 210, 250, 255);
}

QPushButton#AccountListBtn{
border:none;
/*背景色*/
background-color: rgba(255, 225, 255, 0);
}

/********************************************主界面样式*************************/
/*-----------TopWidget----------------*/
QPushButton#SignBtn:!hover {
    border:none;
    /*背景色*/
    background-color: rgba(255, 225, 255, 0);
    text-align : left;
    color: white;
}

QPushButton#SignBtn:hover {
    border-image:url(:/Images/resource/btn_background.png);
    text-align : left;
    color: white;
}

QPushButton#SysHead:pressed{
    border:none;
    border-image:url(:/Images/resource/Padding4Hot.png);
}

QPushButton#SysHead:!hover{
    border:none;
    border-image:url(:/Images/resource/Padding4Normal.png);
}

QComboBox QAbstractItemView
{
     border: 1px solid rgb(161,161,161);
}

QComboBox QAbstractItemView::item
{
    height: 24px;
}

QComboBox QAbstractItemView::item:selected
{
    background-color: rgba(54, 98, 180);
}

QComboBox QAbstractItemView::item:hover
{
    background-color: rgba(54, 98, 180);
}

QComboBox {
    border: 1px solid gray;
    border-radius: 3px;
    padding: 1px 1px 1px 3px;
    font-size:16px
}

QComboBox:hover {
    border: 1px solid blue;
    border-radius: 3px;
    padding: 1px 1px 1px 3px;
}

QComboBox:editable {
    background: white;
}

QComboBox::down-arrow {
    image: url(:/Images/resource/images/indicator_down.png);
}
/*组合框右侧的下三角按钮*/
QComboBox::drop-down {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 24px;

    border-left-width: 1px;
    border-left-color: darkgray;

    border-bottom-right-radius: 3px;
}

QPushButton#MsgBoxBtn
{
    border:none;
    background-color: transparent;
    font: 20px;
    color:rgba(0,160,250,220);
}

QPushButton#MsgBoxBtn::hover
{
    border:none;
    background-color: transparent;
    font: bold 20px;
    color:rgba(0,160,250,250);
    text-decoration: underline;
}
/*------------MiddleWidget-----------*/
QPushButton#QQCellHeadBtn:pressed{
    border:none;
    border-image:url(:/Images/resource/Padding4Hot.png);
}

QPushButton#QQCellHeadBtn:hover{
    border:none;
    border-image:url(:/Images/resource/Padding4Hot.png);
}

QPushButton#QQCellHeadBtn:!hover{
    border:none;
    border-image:url(:/Images/resource/Padding4Normal.png);
}

QPushButton#btnWinMin,QPushButton#btnWinClose, QPushButton#btnWinMax {
    border: none;
    background-color: transparent;
    min-width: 40px;
    min-height: 40px;
}

QPushButton#btnWinMin:hover,QPushButton#btnWinMax:hover {
    padding-top: 2px;

    background-color: rgba(255, 255, 255,50);
}

QPushButton#btnWinClose:hover{
    padding-top: 4px;
    border: 1px
    solid #FF0000;
    background-color: #FF0000;
}

QListView#BuddyListWidget::item:hover {
    background-color: rgba(220, 220, 220, 150);
    color:rgba(255,255,255,0);
}

QListView#BuddyListWidget::item:selected{
    background-color: #D9D8D7;
    color:rgba(255,255,255,0);
}

/*去掉虚框，字体颜色透明，不显示item字体*/
QListView#BuddyListWidget {
    outline:0px;
    color:rgba(255,255,255,0);
}

QListView::item:hover {
    background-color: rgba(220, 220, 220, 150);
}

QListView::item:selected{
    background-color: #D9D8D7;
}

QListView{
    outline:0px;
}

QPushButton#BuddyGroupBtn:hover{
    border:none;
    background-color: #D9D8D7;
}

QPushButton#BuddyGroupBtn:!hover{
    border:none;
}

/*ChatWin的样式*/
QToolButton#ToolBtn{
    border:none;
    /*背景色*/
    background-color: rgba(255, 225, 255, 0);
}


QToolButton#ToolBtn:hover{
border: 1px solid #4ea9e9;border-radius: 2px;
/*背景色*/
background-color: rgba(220, 220, 220, 100);
}

QToolButton#ToolBtn:checked{
border:none;
/*背景色*/
background-color: rgba(220, 220, 220, 100);
}

QPushButton#MsgCloseBtn{
    background:transparent;
    border: 1px solid rgb(214,214,214);border-radius: 5px;
    font-size:18px;
}

QPushButton#MsgCloseBtn:hover{
    background-color:rgba(210,210,210,255);
}

QPushButton#MsgSendBtn{
    background-color:rgba(95,95,110,255);
    color:white;
    font-size:18px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

QPushButton#MsgSendBtn:hover{
    background-color:rgba(95,95,110,100);
}

QPushButton#MsgSendActionBtn{
    background-color:rgba(95,95,110,255);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

QPushButton#MsgSendActionBtn:hover{
    background-color:rgba(95,95,110,100);
}

QPushButton#MsgSendActionBtn::menu-indicator{
    image:None;

}

QWidget#MsgSendWgt{
    background-color:white;
    border: 1px solid white;border-radius: 5px;
}

QScrollBar{background:white; width:10px; padding-right: 0px;}
QScrollBar::handle{background:rgb(180,180,180,150);border-radius:4px;}
QScrollBar::handle:hover{background: rgb(150,150,150,150);}
QScrollBar::add-line:vertical{border:1px rgb(230,230,230,150);height: 1px;}
QScrollBar::sub-line:vertical{border:1px rgb(230,230,230,150);height: 1px;}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {background:transparent;}
/*------------BottomWidget-----------*/
QPushButton#BottomButton{
border:none;
/*背景色*/
background-color: rgba(255, 225, 255, 0);
}

QPushButton#BottomButton:hover{
border:none;
/*背景色*/
background-color: rgba(220, 220, 220, 255);
}

/*按钮菜单子控件样式*/
QPushButton#BottomButton::menu-indicator {
    width: 0px;
    image: none;
    border: none;
}

QToolButton#BottomButton {
    border: none;
    border-radius: 0px;
    background-color: none;
}

QToolButton#BottomButton:hover {
    border: none;
    border-radius: 0px;
    background-color: rgba(220, 220, 220, 255);
}

QLabel#lableTips
{
    color: rgb(255, 0, 0);
}

QMenu{background-color: rgba(255, 255, 255,255);border: 1px solid rgb(214,214,214);border-radius: 5px;}
QMenu::item{height: 28px;padding: 0px 20px 0px 40px;font-size : 18px;color: rgb(0, 0, 0);font-family: 微软雅黑;}
QMenu::item:focus{padding: -1;}
QMenu::item:!enabled{color:rgb(150,150,150);}
QMenu::item:selected{color: white;background-color: rgb(22, 154, 243);}
QMenu::icon{position: absolute;left: 12px;}
QMenu::separator{height:1px;background: rgb(209,209,209);margin:4px 0px 4px 0px;}
